package com.tianma315.core.agent.dao;

import com.baomidou.mybatisplus.plugins.Page;

import com.tianma315.core.agent.domain.AgentDO;
import com.tianma315.core.agent.vo.AgentVO;
import com.tianma315.core.common.base.BaseDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * <pre>
 * 经销商
 * </pre>
 * <small> 2019-08-02 09:28:15 | Wen</small>
 */
public interface AgentDao extends BaseDao<AgentDO> {

    List<AgentVO> getAgentVO(@Param("page") Page page, AgentDO agentDO);

    List<AgentDO> selectByMerchantId(long merchantId);

    int deleteByMerchantId(long merchantId);
}
